package com.example.demo01.Repository;

import com.example.demo01.Entity.Client;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;
@Repository
public interface ClientRepository  extends JpaRepository<Client, Long> {
    Optional<Object> findByName(String labelName);

    List<Client> findByTags_LabelName(String 新客户);

}